# CentOS-Base.repo
#
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client.  You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the
# remarked out baseurl= line instead.
#
#

[base]
name=CentOS-vault-$releasever - Base
failovermethod=priority
baseurl={{ nexus_yum | default('https://developer.aliyun.com/mirror') }}/centos-vault/$releasever/os/$basearch/
gpgcheck=1
gpgkey={{ nexus_yum | default('https://developer.aliyun.com/mirror') }}/centos-vault/RPM-GPG-KEY-CentOS-6

#released updates
[updates]
name=CentOS-vault-$releasever - Updates
failovermethod=priority
baseurl={{ nexus_yum | default('https://developer.aliyun.com/mirror') }}/centos-vault/$releasever/updates/$basearch/
gpgcheck=1
gpgkey={{ nexus_yum | default('https://developer.aliyun.com/mirror') }}/centos-vault/RPM-GPG-KEY-CentOS-6

#additional packages that may be useful
[extras]
name=CentOS-vault-$releasever - Extras
failovermethod=priority
baseurl={{ nexus_yum | default('https://developer.aliyun.com/mirror') }}/centos-vault/$releasever/extras/$basearch/
gpgcheck=1
gpgkey={{ nexus_yum | default('https://developer.aliyun.com/mirror') }}/centos-vault/RPM-GPG-KEY-CentOS-6

#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-vault-$releasever - Plus
failovermethod=priority
baseurl={{ nexus_yum | default('https://developer.aliyun.com/mirror') }}/centos-vault/$releasever/centosplus/$basearch/
gpgcheck=1
enabled=0
gpgkey={{ nexus_yum | default('https://developer.aliyun.com/mirror') }}/centos-vault/RPM-GPG-KEY-CentOS-6

#contrib - packages by Centos Users
[contrib]
name=CentOS-vault-$releasever - Contrib
failovermethod=priority
baseurl={{ nexus_yum | default('https://developer.aliyun.com/mirror') }}/centos-vault/$releasever/contrib/$basearch/
gpgcheck=1
enabled=0
gpgkey={{ nexus_yum | default('https://developer.aliyun.com/mirror') }}/centos-vault/RPM-GPG-KEY-CentOS-6

[epel]
name=Extra Packages for Enterprise Linux 6 - $basearch
baseurl={{ nexus_yum | default('https://developer.aliyun.com/mirror') }}/epel-archive/6/$basearch
failovermethod=priority
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
